package com.smartcommunity.dao.building;

import com.smartcommunity.entity.Unit.Unit;
import com.smartcommunity.entity.building.BuildingEntity;
import com.smartcommunity.entity.building.BuildingExitsReq;
import com.smartcommunity.entity.building.BuildingListReq;
import com.smartcommunity.entity.village.Building;

import java.util.List;

public interface BuildingMapper {

    void add(BuildingEntity buildingEntity);

    List<Building> list(BuildingListReq buildingListReq);

    BuildingEntity exits(BuildingExitsReq buildingExitsReq);

    void edit(BuildingEntity buildingEntity);

    void delete(Long buildingId);

    BuildingEntity getBuilding(Long buildingId);
}